package com.csj.lc.mapper;

import com.csj.lc.entity.DeviceInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

@Repository
@Mapper
public interface DeviceMapper {

    DeviceInfoBean queryDevice(String device_id);
    List<DeviceInfoBean> queryDeviceBySet(Set<String> devIdSet);
    int registerDevice(DeviceInfoBean deviceInfoBean);
    int unRegisterDevice(String device_id);
    int updateDevice(DeviceInfoBean deviceInfoBean);


}
